package com.gopay.scheduler.job;

import com.gopay.cps.service.FileHandlerService;
import com.gopay.scheduler.GopayBaseJob;
import com.gopay.scheduler.service.fund.FundBaseOperateService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.Resource;

/**
 * 国付宝提供给监管行27文件生成任务
 * @AutoGenFundGetFTOGFileJob.java
 * @author baiyunpeng
 * @2016年6月16日 下午6:25:16  www.gopay.com.cn Inc.All rights reserved.
 */
public class Fund2GopayFileJob extends GopayBaseJob {
    private Logger logger = LoggerFactory.getLogger(this.getClass());
    @Resource(name = "fileHandlerService")
    private FileHandlerService fundFileRemoteService;
    @Autowired
    private FundBaseOperateService operateService;


    @Override
    protected void doJobInternal() {
       /* logger.info("国付宝提供给监管行基金转国付宝（27文件）生成定时任务开始！============="+ DateUtils.format(new Date()));
        String settleDay = DateUtils.format(new Date(), "yyyyMMdd");
        String res = fundFileRemoteService.superviseWithdrawFile(
                  new FileBizParam(settleDay, operateService.queryAllFundCorp(), FundFileSourceConstants.corn));
            logger.info("国付宝提供给监管行基金转国付宝  res : "+res);*/
    }

}
